Assume that in the Euclidean plane we have four points with coordinates (0,0), (1,0), (a,0) and (b,0).

Construct the points with coordinates (a·b,0) and (a+b,0).

If the applet does not load automatically use the following command

appletviewer